package com.lfnyxy.dao;import com.lfnyxy.entity.YhEntity;import com.lfnyxy.query.YhQuery;import org.apache.ibatis.annotations.Param;import java.util.List;/** * Created by ted on 17/5/8. */public interface YhDao {     int CreateItem(YhEntity entity);     int UpdateItem(YhEntity entity);     List<YhEntity> QueryPageList(YhQuery query);     List<YhEntity> QueryAll();	      int QueryPageListCount(YhQuery query);     int CheckIsExist(YhEntity entity);     YhEntity QueryItem(int Id);     int DeleteItem(int Id);}